#import <Cocoa/Cocoa.h>
#import "LyricsProvider.h"

@interface ChartLyricsLyricsProvider : NSObject <LyricsProvider> {
	WSClientContext context;
}

- (void) methodCallback:(NSDictionary *)result;
- (WSMethodInvocationRef) createInvocationReference;
- (void) setInvocationReferenceParameters:(WSMethodInvocationRef)ref song:(NSString *)song artist:(NSString *)artist;
- (void) setInvocationReferenceProperties:(WSMethodInvocationRef)ref;
- (NSString *) getLyrics:(NSDictionary *)result;
- (WSMethodInvocationRef) buildInvocationReference:(TrackInfo *)track;

@property (retain) TrackInfo *currentTrack;

void callback(WSMethodInvocationRef invocation, void *info, CFDictionaryRef outRef);

@end
